import request from "@/utils/request";

/**
 * 列表
 * @param data
 * @returns {AxiosPromise}
 */
export function listWorkerWithdRecord(data) {
    return request({
        url: '/wbzj-biz/workerWithdRecord/getPageList',
        method: 'post',
        data: data
    })
}

export function auditPass(pkId) {
    return request({
        url: '/wbzj-biz/workerWithdRecord/auditPass/'+pkId,
        method: 'post'
    })
}

export function synWorkerInfo(pkId,workerId) {
    return request({
        url: '/wbzj-biz/workerWithdRecord/synWorkerInfo/'+pkId+"/"+workerId,
        method: 'post'
    })
}